package com.zheng.upms.dao.model;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.zheng.common.base.BaseEntity;
import com.zheng.common.base.PageEntity;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author likun
 * @since 2018-05-18
 */
@TableName("upms_role_system")
public class UpmsRoleSystem extends PageEntity {

    private static final long serialVersionUID = 1L;

    @TableId("role_system_id")
	private Integer roleSystemId;
	@TableField("role_id")
	private Integer roleId;
	@TableField("system_id")
	private Integer systemId;


	public Integer getRoleSystemId() {
		return roleSystemId;
	}

	public void setRoleSystemId(Integer roleSystemId) {
		this.roleSystemId = roleSystemId;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public Integer getSystemId() {
		return systemId;
	}

	public void setSystemId(Integer systemId) {
		this.systemId = systemId;
	}

	@Override
	protected Serializable pkVal() {
		return roleSystemId;
	}

	@Override
	public String toString() {
		return "UpmsRoleSystem{" +
			"roleSystemId=" + roleSystemId +
			", roleId=" + roleId +
			", systemId=" + systemId +
			"}";
	}
}
